<style>
#change_pass_wrapper{
width:530px;
float:left;
}
#fs_change_pass{
margin: 0 0px 0 40px;
width: 450px;
}
#fs_change_pass ol{
list-style:none;
border:0px;
margin:0;
padding:0;
}

#fs_change_pass li{
clear:both;
padding:0;
padding:0px 0px 10px 0px;

}

#fs_change_pass input{
float:right;;
margin:15px  110px 0px  0px;

}

#fs_change_pass label{
float: left;
font-family: Verdana;
line-height: 3.2em;
margin: 4px 5px 0;
text-align: left;
width: 170px;
}

#fs_change_pass legend
{
border: 1px #1a6f93 solid; 
color: black; 

font-family: Verdana;
font-weight: bold;
font-size: 15px;

padding-right: 5px;
padding-left: 5px;
padding-top: 2px;
padding-bottom: 2px;

-moz-border-radius: 3px;
}

#btn_change_pass{
background: #81ADD6;
color:white;
padding:5px;
display:block;
border:1px solid black;
-moz-border-radius: 5px;
}
.error {
	border:1px solid #FFB383;
	margin: 0 0 10px 34px;
    padding: 0 0 0 1px;
    width: 463px;
	background: #FFCACA;
}
.error p{
	display:block;
 	color:Black;
	text-align:left;
	margin:5px 0px 0px 5px;
}
em{
	color:red;
}
</style>
<div id="change_pass_wrapper">
<?php if(isset($error_flag) && ($error_flag == 1)):?>
<div class="error">
	<?php echo validation_errors();?>
</div>
<?php endif ; ?>
<fieldset id="fs_change_pass">
		<legend>Change Password</legend>
		<form id="change_pass_form" name="change_pass_form" method="post" action="<?php echo site_url('user/change_password'); ?>">
		<ol>
			<li>
				<label for="current_password">Your current password  <em>*</em> :</label>
				<input type="password" name="current_password"/>
			</li>
			<li>
				<label for="new_password">Your new password  <em>*</em> :</label>
				<input type="password" name="new_password"/>
			</li>
			<li>
				<label for="confirm_new_password">Confirm new password <em>*</em> :</label>
				<input type="password" name="confirm_new_password"/>
			</li>
			<li>
				<input type="submit" id="btn_change_pass" name="btn_change_pass" value="Change Password"/>
			</li>
			
		</ol>
		</form> 
	</fieldset>
</div><!-- End #change_pass_wrapper -->